package com.baichuan.zntx.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baichuan.zntx.domain.Region;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baichuan.common.excel.annotation.ExcelDictFormat;
import com.baichuan.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 工位管理视图对象 t_region
 *
 * @author MaZhanliang
 * @date 2024-05-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Region.class)
public class RegionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private Long id;
    /**
     * 工位名称
     */
    @ExcelProperty(value = "工位名称")
    private String title;

    /**
     * 工位-经度
     */
    @ExcelProperty(value = "工位-经度")
    private Double longtitude;

    /**
     * 工位-纬度
     */
    @ExcelProperty(value = "工位-纬度")
    private Double latitude;

    /**
     * 工作范围
     */
    @ExcelProperty(value = "工作范围")
    private Long radius;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    private Integer isAvailable;

    private String rfid;
}
